﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace TankIt
{
    public class GameCommands
    {
        public const string CommandDelimeter = " ";
        public const string Join = "J";
        public const string Leave = "L";
        public const string Challenge = "C";
        public const string AcceptChallenge = "AC";
        public const string RejectChallenge = "RC";
        public const string Play = "P";
        public const string Ready = "G";
        public const string NewGame = "N";
        public const string LeaveGame = "LG";

        public const string JoinFormat = Join + CommandDelimeter + "{0}";
        public const string LeaveFormat = Leave + CommandDelimeter + "{0}";
        public const string LeaveGameFormat = LeaveGame + CommandDelimeter + "{0}";
        public const string ChallengeFormat = Challenge + CommandDelimeter + "{0}";
        public const string AcceptChallengeFormat = AcceptChallenge + CommandDelimeter + "{0}";
        public const string NewGameFormat = NewGame + CommandDelimeter + "{0}";
        public const string RejectChallengeFormat = RejectChallenge + CommandDelimeter + "{0}";
        public const string PlayFormat = Play + CommandDelimeter + "{0}" + CommandDelimeter + "{1}";
        public const string ReadyFormat = Ready + CommandDelimeter + "{0}";
    }
}
